"""Django URL Configuration

The `urlpatterns` list routes URLs to views. For more information please see:
    https://docs.djangoproject.com/en/3.0/topics/http/urls/
Examples:
Function views
    1. Add an import:  from my_app import views
    2. Add a URL to urlpatterns:  path('', views.home, name='home')
Class-based views
    1. Add an import:  from other_app.views import Home
    2. Add a URL to urlpatterns:  path('', Home.as_view(), name='home')
Including another URLconf
    1. Import the include() function: from django.urls import include, path
    2. Add a URL to urlpatterns:  path('blog/', include('blog.urls'))
"""
from django.contrib import admin
from django.urls import path, include
from . import views

urlpatterns = [
    path('admin/', admin.site.urls),

    # 职员
    path('sm_system/', include('sm_system.urls')),

    # 销售记录
    path('salesrecord/', include('salesRecord.urls')),

    # 销售汇总
    path('salessum/', include('salesSum.urls')),

    # 顾客
    path('customer/', include('customer.urls')),

    # 供应商
    path('supplier/', include('supplier.urls')),

    # 商品
    path('commodity/', include('commodity.urls')),
    # supermarket
    path('supermarket/', include('supermarket.urls')),

    # 门店管理员
    path('juniorAdmin/', include('juniorAdmin.urls')),

    # 合同
    path('contract/', include('contract.urls')),
    # brand
    path('brand/', include('brand.urls')),

    # dept
    path('dept/', include('dept.urls')),


    # 高级管理员
    path('seniorAdmin/', include('seniorAdmin.urls')),

    # 总部对于职员信息的管理
    path('clerk/', include('clerk.urls'))

]
